package com.example.yjhplayer.client;

import com.example.common.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value="yjh-team")
@RequestMapping("/yjh/players")
public interface teamClient {

    @RequestMapping("player")
    Result queryplayer(@RequestParam("player_id") int playerId);

}
